<?php
class Admin_CommonController extends Zend_Controller_Action
{
	var $cache;
	function init() {
		$this->registry = Zend_Registry::getInstance();
		$this->view = $this->registry['view'];
		$this->view->baseUrl = $this->_request->getBaseUrl();
		
		//改变模板文件位置
		$this->view->setScriptPath('./application/modules/admin/views/scripts/');
		
	}
	
	
	
}
